package com.sgb.jicai.view.adapter;

import android.content.Context;

import com.sgb.jicai.R;
import com.sgb.jicai.entity.JiCaiQuotedPriceCompanyEntity;
import com.swgk.core.BR;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import java.util.List;

/**
 * 参与报价  报价列表  适配器
 */
public class QuotedPriceAdapter extends BaseRecycleAdapter<JiCaiQuotedPriceCompanyEntity> {
    private Context context;

    public QuotedPriceAdapter(Context context, List<JiCaiQuotedPriceCompanyEntity> datas) {
        super(context, R.layout.item_quotedprice, datas);
        this.context = context;
    }

    @Override
    public void convert(ItemViewHolder holder, JiCaiQuotedPriceCompanyEntity entity) {
        holder.setBinding(BR.viewModel, entity);

    }

}
